package cyc.learn.mode.factory.abs;

public class AbsFactoryTest {
    public static void main(String[] args) {
        AbstractFactory factory = new EmailSendFactory();
        factory.produce().send();

        factory = new SmsSendFactory();
        factory.produce().send();
    }
}
